package org.example.myleet.p1345;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(0 == solution.minJumps(new int[]{7}));
        Assert.isTrue(3 == solution.minJumps(new int[]{100,-23,-23,404,100,23,23,23,3,404}));
        Assert.isTrue(1 == solution.minJumps(new int[]{7,6,9,6,9,6,9,7}));
        Assert.isTrue(2 == solution.minJumps(new int[]{6,1,9}));
        Assert.isTrue(3 == solution.minJumps(new int[]{11,22,7,7,7,7,7,7,7,22,13}));
    }
}
